package campus.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserCdateIsNull() {
            addCriterion("user_cdate is null");
            return (Criteria) this;
        }

        public Criteria andUserCdateIsNotNull() {
            addCriterion("user_cdate is not null");
            return (Criteria) this;
        }

        public Criteria andUserCdateEqualTo(Date value) {
            addCriterion("user_cdate =", value, "userCdate");
            return (Criteria) this;
        }

        public Criteria andUserCdateNotEqualTo(Date value) {
            addCriterion("user_cdate <>", value, "userCdate");
            return (Criteria) this;
        }

        public Criteria andUserCdateGreaterThan(Date value) {
            addCriterion("user_cdate >", value, "userCdate");
            return (Criteria) this;
        }

        public Criteria andUserCdateGreaterThanOrEqualTo(Date value) {
            addCriterion("user_cdate >=", value, "userCdate");
            return (Criteria) this;
        }

        public Criteria andUserCdateLessThan(Date value) {
            addCriterion("user_cdate <", value, "userCdate");
            return (Criteria) this;
        }

        public Criteria andUserCdateLessThanOrEqualTo(Date value) {
            addCriterion("user_cdate <=", value, "userCdate");
            return (Criteria) this;
        }

        public Criteria andUserCdateIn(List<Date> values) {
            addCriterion("user_cdate in", values, "userCdate");
            return (Criteria) this;
        }

        public Criteria andUserCdateNotIn(List<Date> values) {
            addCriterion("user_cdate not in", values, "userCdate");
            return (Criteria) this;
        }

        public Criteria andUserCdateBetween(Date value1, Date value2) {
            addCriterion("user_cdate between", value1, value2, "userCdate");
            return (Criteria) this;
        }

        public Criteria andUserCdateNotBetween(Date value1, Date value2) {
            addCriterion("user_cdate not between", value1, value2, "userCdate");
            return (Criteria) this;
        }

        public Criteria andUserPwdIsNull() {
            addCriterion("user_pwd is null");
            return (Criteria) this;
        }

        public Criteria andUserPwdIsNotNull() {
            addCriterion("user_pwd is not null");
            return (Criteria) this;
        }

        public Criteria andUserPwdEqualTo(String value) {
            addCriterion("user_pwd =", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdNotEqualTo(String value) {
            addCriterion("user_pwd <>", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdGreaterThan(String value) {
            addCriterion("user_pwd >", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdGreaterThanOrEqualTo(String value) {
            addCriterion("user_pwd >=", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdLessThan(String value) {
            addCriterion("user_pwd <", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdLessThanOrEqualTo(String value) {
            addCriterion("user_pwd <=", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdLike(String value) {
            addCriterion("user_pwd like", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdNotLike(String value) {
            addCriterion("user_pwd not like", value, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdIn(List<String> values) {
            addCriterion("user_pwd in", values, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdNotIn(List<String> values) {
            addCriterion("user_pwd not in", values, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdBetween(String value1, String value2) {
            addCriterion("user_pwd between", value1, value2, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPwdNotBetween(String value1, String value2) {
            addCriterion("user_pwd not between", value1, value2, "userPwd");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNull() {
            addCriterion("user_phone is null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNotNull() {
            addCriterion("user_phone is not null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneEqualTo(String value) {
            addCriterion("user_phone =", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotEqualTo(String value) {
            addCriterion("user_phone <>", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThan(String value) {
            addCriterion("user_phone >", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("user_phone >=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThan(String value) {
            addCriterion("user_phone <", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThanOrEqualTo(String value) {
            addCriterion("user_phone <=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLike(String value) {
            addCriterion("user_phone like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotLike(String value) {
            addCriterion("user_phone not like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIn(List<String> values) {
            addCriterion("user_phone in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotIn(List<String> values) {
            addCriterion("user_phone not in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneBetween(String value1, String value2) {
            addCriterion("user_phone between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotBetween(String value1, String value2) {
            addCriterion("user_phone not between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateIsNull() {
            addCriterion("user_login_date is null");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateIsNotNull() {
            addCriterion("user_login_date is not null");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateEqualTo(Date value) {
            addCriterion("user_login_date =", value, "userLoginDate");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateNotEqualTo(Date value) {
            addCriterion("user_login_date <>", value, "userLoginDate");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateGreaterThan(Date value) {
            addCriterion("user_login_date >", value, "userLoginDate");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("user_login_date >=", value, "userLoginDate");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateLessThan(Date value) {
            addCriterion("user_login_date <", value, "userLoginDate");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateLessThanOrEqualTo(Date value) {
            addCriterion("user_login_date <=", value, "userLoginDate");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateIn(List<Date> values) {
            addCriterion("user_login_date in", values, "userLoginDate");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateNotIn(List<Date> values) {
            addCriterion("user_login_date not in", values, "userLoginDate");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateBetween(Date value1, Date value2) {
            addCriterion("user_login_date between", value1, value2, "userLoginDate");
            return (Criteria) this;
        }

        public Criteria andUserLoginDateNotBetween(Date value1, Date value2) {
            addCriterion("user_login_date not between", value1, value2, "userLoginDate");
            return (Criteria) this;
        }

        public Criteria andUserRealNameIsNull() {
            addCriterion("user_real_name is null");
            return (Criteria) this;
        }

        public Criteria andUserRealNameIsNotNull() {
            addCriterion("user_real_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserRealNameEqualTo(String value) {
            addCriterion("user_real_name =", value, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameNotEqualTo(String value) {
            addCriterion("user_real_name <>", value, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameGreaterThan(String value) {
            addCriterion("user_real_name >", value, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_real_name >=", value, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameLessThan(String value) {
            addCriterion("user_real_name <", value, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameLessThanOrEqualTo(String value) {
            addCriterion("user_real_name <=", value, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameLike(String value) {
            addCriterion("user_real_name like", value, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameNotLike(String value) {
            addCriterion("user_real_name not like", value, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameIn(List<String> values) {
            addCriterion("user_real_name in", values, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameNotIn(List<String> values) {
            addCriterion("user_real_name not in", values, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameBetween(String value1, String value2) {
            addCriterion("user_real_name between", value1, value2, "userRealName");
            return (Criteria) this;
        }

        public Criteria andUserRealNameNotBetween(String value1, String value2) {
            addCriterion("user_real_name not between", value1, value2, "userRealName");
            return (Criteria) this;
        }

        public Criteria andEMailIsNull() {
            addCriterion("e_mail is null");
            return (Criteria) this;
        }

        public Criteria andEMailIsNotNull() {
            addCriterion("e_mail is not null");
            return (Criteria) this;
        }

        public Criteria andEMailEqualTo(String value) {
            addCriterion("e_mail =", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailNotEqualTo(String value) {
            addCriterion("e_mail <>", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailGreaterThan(String value) {
            addCriterion("e_mail >", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailGreaterThanOrEqualTo(String value) {
            addCriterion("e_mail >=", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailLessThan(String value) {
            addCriterion("e_mail <", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailLessThanOrEqualTo(String value) {
            addCriterion("e_mail <=", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailLike(String value) {
            addCriterion("e_mail like", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailNotLike(String value) {
            addCriterion("e_mail not like", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailIn(List<String> values) {
            addCriterion("e_mail in", values, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailNotIn(List<String> values) {
            addCriterion("e_mail not in", values, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailBetween(String value1, String value2) {
            addCriterion("e_mail between", value1, value2, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailNotBetween(String value1, String value2) {
            addCriterion("e_mail not between", value1, value2, "eMail");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIsNull() {
            addCriterion("institutions is null");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIsNotNull() {
            addCriterion("institutions is not null");
            return (Criteria) this;
        }

        public Criteria andInstitutionsEqualTo(String value) {
            addCriterion("institutions =", value, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsNotEqualTo(String value) {
            addCriterion("institutions <>", value, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsGreaterThan(String value) {
            addCriterion("institutions >", value, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsGreaterThanOrEqualTo(String value) {
            addCriterion("institutions >=", value, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsLessThan(String value) {
            addCriterion("institutions <", value, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsLessThanOrEqualTo(String value) {
            addCriterion("institutions <=", value, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsLike(String value) {
            addCriterion("institutions like", value, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsNotLike(String value) {
            addCriterion("institutions not like", value, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIn(List<String> values) {
            addCriterion("institutions in", values, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsNotIn(List<String> values) {
            addCriterion("institutions not in", values, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsBetween(String value1, String value2) {
            addCriterion("institutions between", value1, value2, "institutions");
            return (Criteria) this;
        }

        public Criteria andInstitutionsNotBetween(String value1, String value2) {
            addCriterion("institutions not between", value1, value2, "institutions");
            return (Criteria) this;
        }

        public Criteria andResourceTypeIsNull() {
            addCriterion("resource_type is null");
            return (Criteria) this;
        }

        public Criteria andResourceTypeIsNotNull() {
            addCriterion("resource_type is not null");
            return (Criteria) this;
        }

        public Criteria andResourceTypeEqualTo(String value) {
            addCriterion("resource_type =", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeNotEqualTo(String value) {
            addCriterion("resource_type <>", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeGreaterThan(String value) {
            addCriterion("resource_type >", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("resource_type >=", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeLessThan(String value) {
            addCriterion("resource_type <", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeLessThanOrEqualTo(String value) {
            addCriterion("resource_type <=", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeLike(String value) {
            addCriterion("resource_type like", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeNotLike(String value) {
            addCriterion("resource_type not like", value, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeIn(List<String> values) {
            addCriterion("resource_type in", values, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeNotIn(List<String> values) {
            addCriterion("resource_type not in", values, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeBetween(String value1, String value2) {
            addCriterion("resource_type between", value1, value2, "resourceType");
            return (Criteria) this;
        }

        public Criteria andResourceTypeNotBetween(String value1, String value2) {
            addCriterion("resource_type not between", value1, value2, "resourceType");
            return (Criteria) this;
        }

        public Criteria andUserRolesIsNull() {
            addCriterion("user_roles is null");
            return (Criteria) this;
        }

        public Criteria andUserRolesIsNotNull() {
            addCriterion("user_roles is not null");
            return (Criteria) this;
        }

        public Criteria andUserRolesEqualTo(String value) {
            addCriterion("user_roles =", value, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesNotEqualTo(String value) {
            addCriterion("user_roles <>", value, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesGreaterThan(String value) {
            addCriterion("user_roles >", value, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesGreaterThanOrEqualTo(String value) {
            addCriterion("user_roles >=", value, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesLessThan(String value) {
            addCriterion("user_roles <", value, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesLessThanOrEqualTo(String value) {
            addCriterion("user_roles <=", value, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesLike(String value) {
            addCriterion("user_roles like", value, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesNotLike(String value) {
            addCriterion("user_roles not like", value, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesIn(List<String> values) {
            addCriterion("user_roles in", values, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesNotIn(List<String> values) {
            addCriterion("user_roles not in", values, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesBetween(String value1, String value2) {
            addCriterion("user_roles between", value1, value2, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserRolesNotBetween(String value1, String value2) {
            addCriterion("user_roles not between", value1, value2, "userRoles");
            return (Criteria) this;
        }

        public Criteria andUserAdminIsNull() {
            addCriterion("user_admin is null");
            return (Criteria) this;
        }

        public Criteria andUserAdminIsNotNull() {
            addCriterion("user_admin is not null");
            return (Criteria) this;
        }

        public Criteria andUserAdminEqualTo(String value) {
            addCriterion("user_admin =", value, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminNotEqualTo(String value) {
            addCriterion("user_admin <>", value, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminGreaterThan(String value) {
            addCriterion("user_admin >", value, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminGreaterThanOrEqualTo(String value) {
            addCriterion("user_admin >=", value, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminLessThan(String value) {
            addCriterion("user_admin <", value, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminLessThanOrEqualTo(String value) {
            addCriterion("user_admin <=", value, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminLike(String value) {
            addCriterion("user_admin like", value, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminNotLike(String value) {
            addCriterion("user_admin not like", value, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminIn(List<String> values) {
            addCriterion("user_admin in", values, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminNotIn(List<String> values) {
            addCriterion("user_admin not in", values, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminBetween(String value1, String value2) {
            addCriterion("user_admin between", value1, value2, "userAdmin");
            return (Criteria) this;
        }

        public Criteria andUserAdminNotBetween(String value1, String value2) {
            addCriterion("user_admin not between", value1, value2, "userAdmin");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}